package com.xframe.domain.views.ui;

import lombok.Data;

/**
 * @Description: 表单UI验证对象
 * @ClassName: com.xframe.domain.views.ui.UIRule
 * @Author: xufeng
 * @CreateTime: 2023/12/05 9:15
 **/
@Data
public class UIRule {

    /**
     * 是否必填
     */
    private Boolean required;
    /**
     * 验证消息
     */
    private String message = "form.rules.testValidatorMessage";
    /**
     * 验证方式
     */
    private String trigger;

    /**
     * 验证器的名称
     */
    private String validator;
}
